package com.f1ussh.serviceuser.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.f1ussh.serviceuser.dto.UserQueryDTO;
import com.f1ussh.serviceuser.entity.User;
import com.f1ussh.common.result.PageResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    PageResult<User> selectUserPage(Page<User> page, @Param("query") UserQueryDTO queryDTO);

}
